//
//  Person.m
//  WYModel
//
//  Created by ios on 2017/3/8.
//  Copyright © 2017年 Wy. All rights reserved.
//

#import "Person.h"


@interface Person ()

//@property(nonatomic,copy,readwrite) NSString * name;

//@property(nonatomic,assign,readwrite) int     age;

@end


@implementation Person


-(instancetype)initWithName:(NSString *)name Age:(int)age{
    
    if (self == [super init]) {
        _name = name;
        _age = age;
        
    }
    return self;
}

-(NSString *)description{
    return [NSString stringWithFormat:@"name=%@，age=%d",_name,_age];
}

@end
